﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using Oracle.ManagedDataAccess.Client;
using WFL.Data;

namespace WFL.Demo.WinForm
{
    [Table("V_ExceptionLog")]
    public class ExceptionLog
    {
        [PrimaryKey]
        public int Id
        {
            get;
            set;
        }
        public string Type
        {
            get;
            set;
        }
        public string Title
        {
            get;
            set;
        }
        [Field((int)OracleDbType.NClob)]
        public string Detail
        {
            get;
            set;
        }
        public DateTime HappenTime
        {
            get;
            set;
        }
        public string Operator
        {
            get;
            set;
        }
        public int? OrganizationId
        {
            get;
            set;
        }
        public string OrganizationName
        {
            get;
            set;
        }
    }
}
